import Layout from '@/layout'
// 系统管理
const systemManagementRouter = {
    path: '/system-management',
    component: Layout,
    redirect: '/system-management/user-management',
    name: 'SystemManagement',
    meta: {
        title: '系统管理',
        icon: 'system-management'
    },
    children: [
        {
            path: '/user-management',
            component: () => import('@/views/system-management/user-management'),
            name: 'UserManagement',
            meta: {
                title: '用户管理',
                icon: 'system-management'
            }
        },
        {
            path: '/role-management',
            component: () => import('@/views/system-management/role-management'),
            name: 'RoleManagement',
            meta: {
                title: '角色管理',
                icon: 'role-management'
            }
        }
    ]
}
export default systemManagementRouter
